<!DOCTYPE html>
<html lang="zh-cn">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="./index.css">
  <link rel="stylesheet" href="./animation.css">
</head>

<body>

  <div id="main">
    <p>游戏规则：点击投掷，左边骰子代表玩家甲，右边骰子代表玩家乙，点数大的获胜，点数相等则平手</p>
    <div id="clock">
      <span>游戏已进行：</span>
      <span class="num min">00</span>
      <span class="num">:</span>
      <span class="num sec">00</span>
    </div>
    <div class="demo">
      <div class="wrap">
        <div id="dice1" class="dice dice_1"></div>
      </div>
      <div class="wrap">
        <div id="dice2" class="dice dice_1"></div>
      </div>
    </div>
    <p id="result">点击投掷开始游戏！</p>
    <div id="button">
      <button id="play">投掷</button>
      <button id="reset">复位</button>
    </div>
    

  </div>

  <script src="./index.js"></script>
</body>
</html>